package com.team06.mapper;

import com.team06.pojo.AirlHistory;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AirlHistoryMapper {
    @Insert("INSERT INTO MSG_DFME_AIRL_HISTORY (AIRL_ID, OLD_AIRL_ARPT_ID, NEW_AIRL_ARPT_ID, UPDATE_TIME, UPDATED_BY) " +
            "VALUES (#{airlId}, #{oldAirlArptId}, #{newAirlArptId}, GETDATE(), SYSTEM_USER)")
    void insertAirlHistory(AirlHistory history);
}